<template>
  <div>
    <h2>{{ $env }}</h2>

    <hr />

    <h2>{{ $filters.format("的一个亿") }}</h2>
  </div>
</template>

<script setup lang="ts">
// 获取当前组件实例
const app = getCurrentInstance();

console.log(app?.proxy?.$env);
console.log(app?.proxy?.$filters.format("TS"));
</script>

<style scoped></style>
